package java1;

public class Demo03 {
    static void main(String[] args) {
                int a = 100;
                long b = a;
                float c = b;
                System.out.println(c);


                double x = 3.14159;
                int y = (int) x;
                byte z = (byte) 130;
                System.out.println("y = "+ y);
                System.out.println("z = "+ z);



                short s1 = 10;
                short s2 = 20;
                int s3 = s1 +s2;
                System.out.println(s3);



    }
}
